﻿
using UnityEngine;

public class UIWaitView : MonoBehaviour
{

    private float m_Timer;


    private void Update()
    {
        if (Time.time - m_Timer > 10f)
        {
            gameObject.SetActive(false);
        }
    }

    private void OnEnable()
    {
        m_Timer = Time.time;
    }
}
